fixed load form and character_cl

This commit is contained in:
Botanic 2013-02-07 15:04:28 -08:00
parent 6f72f2fb3e
commit cad71e1551
2 changed files with 2 additions and 2 deletions

View file

@ -109,7 +109,7 @@ struct TLoadFormDicoEntry
} }
}; };
*/ */
const uint32 PACKED_SHEET_HEADER = "PKSH"; const uint32 PACKED_SHEET_HEADER = 'PKSH';
const uint32 PACKED_SHEET_VERSION = 5; const uint32 PACKED_SHEET_VERSION = 5;
// This Version may be used if you want to use the serialVersion() system in loadForm() // This Version may be used if you want to use the serialVersion() system in loadForm()
const uint32 PACKED_SHEET_VERSION_COMPATIBLE = 0; const uint32 PACKED_SHEET_VERSION_COMPATIBLE = 0;

View file

@ -488,7 +488,7 @@ void CCharacterCL::stopAttachedFXForCurrrentAnim(bool stopLoopingFX)
{ {
if(!(*tmpItAttached)->FX.empty()) if(!(*tmpItAttached)->FX.empty())
{ {
if (!(*tmpItAttached)->FX.removeByID("STOP") && !(*tmpItAttached)->FX.removeByID("main")) if (!(*tmpItAttached)->FX.removeByID('STOP') && !(*tmpItAttached)->FX.removeByID('main'))
{ {
(*tmpItAttached)->FX.activateEmitters(false); (*tmpItAttached)->FX.activateEmitters(false);
} }