mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
fixed a bug where defclasslib would search for lib instead of class
This commit is contained in:
parent
fc5e049e4a
commit
7367f29cb4
@ -218,10 +218,8 @@ LibError RunLibCommand(const LibDecoder *enc)
|
||||
|
||||
if (enc->cmd == LibCmd_ExpectLib)
|
||||
expect = LibType_Library;
|
||||
else if (enc->cmd == LibCmd_ExpectClass)
|
||||
expect = LibType_Class;
|
||||
else
|
||||
expect = LibType_Library;
|
||||
expect = LibType_Class;
|
||||
|
||||
/** see if it exists */
|
||||
for (; iter != end; iter++)
|
||||
|
Loading…
Reference in New Issue
Block a user