mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
vcmi: modernize lua
This commit is contained in:
@@ -72,7 +72,7 @@ int ServerCbProxy::commitPackage(lua_State * L)
|
||||
return S.retVoid();
|
||||
|
||||
|
||||
CPackForClient * pack = static_cast<CPackForClient *>(lua_touserdata(L, 1));
|
||||
auto * pack = static_cast<CPackForClient *>(lua_touserdata(L, 1));
|
||||
|
||||
object->apply(pack);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user