Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/gemrb/plugins/GUIScript/GUIScript.cpp b/gemrb/plugins/GUIScript/GUIScript.cpp
- index 367f575..748e559 100644
- --- a/gemrb/plugins/GUIScript/GUIScript.cpp
- +++ b/gemrb/plugins/GUIScript/GUIScript.cpp
- @@ -13620,7 +13620,7 @@ static PyObject* GemRB_SpellCast(PyObject * /*self*/, PyObject* args)
- core->FreeString(tmp);
- print("Target: %d", spelldata.Target);
- print("Range: %d", spelldata.Range);
- - if(! (1<<spelldata.type) & type) {
- + if(! ((1<<spelldata.type) & type)) {
- return RuntimeError( "Wrong type of spell!");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement