Decompile fn_19250 (SetEvilsPawInfo)
Batch #16301 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_19250 SetEvilsPawInfo: logic confirmed by peer review Peer-reviewed-by: eAthena, youko Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
cbb8cf4d7c
commit
21431f8e38
1 changed files with 6 additions and 6 deletions
|
|
@ -397,12 +397,6 @@ int SetEvilsPawInfo(lua_State* state) {
|
|||
case MSG_SET_INIT:
|
||||
effect->ResetParticles();
|
||||
break;
|
||||
case MSG_SET_SIZE:
|
||||
effect->size = static_cast<int>(static_cast<float>(luaL_checknumber(state, 3)));
|
||||
break;
|
||||
case MSG_SET_SPEED:
|
||||
effect->frameDelay = static_cast<int>(static_cast<float>(luaL_checknumber(state, 3)));
|
||||
break;
|
||||
case MSG_SET_OFFSET_POS: {
|
||||
const float x = static_cast<float>(luaL_checknumber(state, 3));
|
||||
const float y = static_cast<float>(luaL_checknumber(state, 4));
|
||||
|
|
@ -412,6 +406,12 @@ int SetEvilsPawInfo(lua_State* state) {
|
|||
effect->offset.z = z;
|
||||
break;
|
||||
}
|
||||
case MSG_SET_SIZE:
|
||||
effect->size = static_cast<int>(static_cast<float>(luaL_checknumber(state, 3)));
|
||||
break;
|
||||
case MSG_SET_SPEED:
|
||||
effect->frameDelay = static_cast<int>(static_cast<float>(luaL_checknumber(state, 3)));
|
||||
break;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue