mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +02:00
cleanup
This commit is contained in:
parent
70a092f58c
commit
009bfb8211
@ -81,19 +81,11 @@ struct EvilHlpStruct
|
||||
CConnection *serv;
|
||||
StartInfo *sInfo;
|
||||
|
||||
void reset(bool strong = true)
|
||||
{
|
||||
if(strong)
|
||||
void reset()
|
||||
{
|
||||
vstd::clear_pointer(serv);
|
||||
vstd::clear_pointer(sInfo);
|
||||
}
|
||||
else
|
||||
{
|
||||
serv = nullptr;
|
||||
sInfo = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
} startingInfo;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user