Commit 4ab53c92 authored by Mikleo's avatar Mikleo

--

parent 9b799255
Pipeline #9518 passed with stages
in 14 seconds
......@@ -10,7 +10,7 @@
#include <SteamWorks>
#define PluginVersion "1.06"
#define PluginVersion "1.07"
float pVersion;
// note linearmap field is unstable
......@@ -5017,8 +5017,9 @@ bool GetEntityData(char[] classname,any[] classInfo)
bool ShouldSave(int entity,char[] classname,any[] classInfo)
{
int hammerID = GetEntProp(entity,Prop_Data,"m_iHammerID");
if(hammerID == 0 && classInfo[data_customOnly])
// if the entity is customonly, don't save any non-custom entities.
if(hammerID > 0 && hammerID < BASEHAMMERID && classInfo[data_customOnly])
{
return false;
}
......
......@@ -1034,7 +1034,6 @@
"light_dynamic"
{
"extend" "map_entity"
"version" "0.78"
"customOnly" "1"
"fields"
{
......@@ -1089,7 +1088,6 @@
{
"extend" "map_entity"
"customOnly" "1"
"version" "0.78"
"fields"
{
"damageRadius"
......@@ -1140,7 +1138,6 @@
"env_fire"
{
"extend" "map_entity"
"customOnly" "1"
"version" "0.80"
"fields"
{
......@@ -1207,17 +1204,18 @@
}
"emp_comm_restrict"
{
"extend" "brush"
"customOnly" "1"
"version" "1.04"
"moveable" "0"
}
// add fields in future.
"emp_eng_restrict"
{
"extend" "brush"
"customOnly" "1"
"version" "1.04"
"moveable" "0"
"fields"
{
"restrictNF"
......
......@@ -4,7 +4,7 @@
{
"Version"
{
"Latest" "1.06"
"Latest" "1.08"
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment