No, i debugged, modelinfo->GetModelType( GetModel() ) returns mod_studio

Aaron Schiff schrieb:

--
[ Picked text/plain from multipart/alternative ]
It doesn't have to be a mod_studio to trigger that assert...that assert
happens if the model isn't a sprite...which it isn't...instead it should be
returning mod_bad, triggering this inequality:
   //Must be a sprite
*    if* ( modelinfo->GetModelType( GetModel() ) != mod_sprite )
   {
       assert( *0* );
       *return* *0;*
*    *}


On 2/10/06, Archy <[EMAIL PROTECTED]> wrote:



Hey
I think this is a bug but i might be wrong.
Using hl2mp. I have a map which includes sprites which are currently not
in my resource folder. It raises an assert when loading the map in
sprite.cpp line 711 because the model type is mod_studio not mod_sprite.
I guess he replaces the sprite because it is missing by the cool big fat
error model which is of typ mod_studio?
I don't have a problem with fixing it, just wanted to inform you.
-archy

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders






--
ts2do
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders





_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to