mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +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