mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-17 01:32:21 +02:00
* Patch from Ubuntux: fix to avoid resources becoming negative [on handling timed events]
* improvements for Garrison Window * some changes towards Events support * minor fixes
This commit is contained in:
@ -1205,6 +1205,7 @@ bool CMapHandler::printObject(const CGObjectInstance *obj)
|
||||
bool CMapHandler::hideObject(const CGObjectInstance *obj)
|
||||
{
|
||||
CDefHandler * curd = obj->defInfo->handler;
|
||||
if(!curd) return false;
|
||||
for(int fx=0; fx<curd->ourImages[0].bitmap->w/32; ++fx)
|
||||
{
|
||||
for(int fy=0; fy<curd->ourImages[0].bitmap->h/32; ++fy)
|
||||
|
Reference in New Issue
Block a user