Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 03/05/26 02:58
zorro with ccxt?
by opm. 03/03/26 03:17
WFO Training with parallel cores Zorro64
by Martin_HH. 02/26/26 16:03
Zorro version 3.0 prerelease!
by TipmyPip. 02/25/26 16:38
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 5,266 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
the1, alx, ApprenticeInMuc, PatrickH90, USER0328
19200 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Entity pointer to a removed entity [Re: EvilSOB] #334372
07/22/10 18:30
07/22/10 18:30
Joined: May 2007
Posts: 2,043
Germany
Lukas Offline

Programmer
Lukas  Offline

Programmer

Joined: May 2007
Posts: 2,043
Germany
But if you remove an entitiy and crate an other, this pointer may them point to the new entity. Or, worse, if you create a panel, the pointer may point to the panel, which you then try to access as an entity, leading to unpredictable behaviour and crashes.

Re: Entity pointer to a removed entity [Re: EvilSOB] #335103
07/26/10 19:32
07/26/10 19:32
Joined: Jul 2010
Posts: 11
A
akinkhoo Offline
Newbie
akinkhoo  Offline
Newbie
A

Joined: Jul 2010
Posts: 11
am I missing something... can't we just set:

ent_remove(jet);
jet = NULL;

???

Page 2 of 2 1 2

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1